package dao

import (
	"time"
)

// 这是 LiPurchaseQuoted 的全局公开dao对象
var LiPurchaseQuotedDao = liPurchaseQuotedDao{}

// 这是 li_purchase_quoted表 的实体类
type LiPurchaseQuoted struct {
	Id              int       `json:"id" form:"id" v:"id"`                                              // ID
	CreateTime      time.Time `json:"create_time" form:"create_time" v:"create_time"`                   // 创建时间
	Annex           string    `json:"annex" form:"annex" v:"annex"`                                     // 附件
	CompanyName     string    `json:"company_name" form:"company_name" v:"company_name"`                // 公司名称
	ContactNumber   string    `json:"contact_number" form:"contact_number" v:"contact_number"`          // 联系电话
	Contacts        string    `json:"contacts" form:"contacts" v:"contacts"`                            // 联系人
	Context         string    `json:"context" form:"context" v:"context"`                               // 报价说明
	MemberId        string    `json:"member_id" form:"member_id" v:"member_id"`                         // 报价人
	PurchaseOrderId string    `json:"purchase_order_id" form:"purchase_order_id" v:"purchase_order_id"` // 采购单ID
	Title           string    `json:"title" form:"title" v:"title"`                                     // 标题

}

// 注意:这是 LiPurchaseQuoted 的私有dao对象
type liPurchaseQuotedDao struct {
	Insert func(arg LiPurchaseQuoted) int              //插入一条记录
	Update func(arg LiPurchaseQuoted) int              //更新一条记录
	Delete func(arg LiPurchaseQuoted) int              //删除一条记录
	Select func(arg LiPurchaseQuoted) LiPurchaseQuoted //获取一条记录
}
